import request from '@/utils/request'

// 查询就业服务图片列表
export function listJobImage(query) {
  return request({
    url: '/school/jobImage/list',
    method: 'get',
    params: query
  })
}

// 查询就业服务图片详细
export function getJobImage(id) {
  return request({
    url: '/school/jobImage/' + id,
    method: 'get'
  })
}

// 新增就业服务图片
export function addJobImage(data) {
  return request({
    url: '/school/jobImage',
    method: 'post',
    data: data
  })
}

// 修改就业服务图片
export function updateJobImage(data) {
  return request({
    url: '/school/jobImage',
    method: 'put',
    data: data
  })
}

// 删除就业服务图片
export function delJobImage(id) {
  return request({
    url: '/school/jobImage/' + id,
    method: 'delete'
  })
}
